﻿#region Imports
using System;
using System.Globalization;
using System.Windows.Data;
using OneStopProgrammingMatrix.Cache;
#endregion

namespace OneStopProgrammingMatrix.Converters
{
    public class MatrixItemMnemonicConverter : IMultiValueConverter
    {
        #region IMultiValueConverter Members
        public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
        {
            return MatrixGroupMnemonicConverter.FormatName(values[0], values[1], parameter);
        }

        public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
        {
            return null;
        }
        #endregion
    }
}
